package cn.northsea.model.supplier;

import cn.northsea.model.base.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

@Data
@ApiModel(description = "Supplier")
@TableName("supplier")
public class Supplier extends BaseEntity {

    @ApiModelProperty(value = "手机号")
    @TableField("phone")
    private String phone;

    @ApiModelProperty(value = "地址")
    @TableField("address")
    private String address;

    @ApiModelProperty(value = "供应商姓名")
    @TableField("name")
    private String name;


    @ApiModelProperty(value = "原料")
    @TableField("material_id")
    private Long materialId;


    @ApiModelProperty(value = "价格")
    @TableField("price")
    private BigDecimal price;


}
